import Layout from '@/layout'

const router = {
  path: '/Situation',
  component: Layout,
  children: [{
    path: 'zzjg',
    meta: {
      ctitle: '组织架构',
      icon: 'namecard'
    },
    component: () => import('@/views/Situation/zzjg')
  }, {
    path: 'rymc',
    meta: {
      ctitle: '人员名册',
      icon: 'exam'
    },
    component: () => import('@/views/Situation/rymc')
  }, {
    path: 'dyfz',
    meta: {
      ctitle: '党员发展',
      icon: 'exam'
    },
    component: () => import('@/views/Situation/dyfz/index'),
  },
  {
    path: '/dyfz/user',
    name: 'user',
    hidden: true,
    component: () => import('@/views/Situation/dyfz/user'),
    meta: { ctitle: '党员发展详情', activeMenu: '@/views/Situation/dyfz/index' }
  }],
  name: 'Situation',
  meta: {
    ctitle: '总体情况',
    icon: 'component'
  }
}

export default router
